public class ConcreteSubject  extends Subject {

    @Override
    public void notifyObservers() {
        for(Observer eachObserver : observers){
            eachObserver.update();
        }
    }
}
